Repository navigation
fix: the title bar's menus keep under the bar, at most three quarters of the window tall, with a more-below hint (2.21.0) - #44
Merged
Conversation
… of the window tall, and show a hint while rows remain below File, Edit, View, Extensions, Help and Panels opened at their button's bottom, 8 px inside the title bar, with no height cap, so a long menu ran off the window. One helper, ui/menu-fit.ts, now opens them under the bar with an inline cap set before they show, and wraps their rows in a scroller whose bottom fades under a small pill while rows remain below.
…and show the same hint Both opened under their button with no height cap, so Blend mode, opened low in a short window, ran off the bottom. They now open through the same helper as the title bar's menus: same place, a cap set before they show, and the more-below hint.
…show a hint while rows remain below
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix: the title bar's menus keep under the bar, at most three quarters of the window tall, with a more-below hint (2.21.0)
Summary
ui/menu-fit.tsopenUnder, opens them at the larger of the given top and the.titlebarbottom..dropdowncard had no height cap or overflow. Fix: an inlinemax-heightofmin(75% of the window, innerHeight - top - 4), set while the card is hidden and before it is measured. It is worked out again on window resize, and no rows are rebuilt..dropdown-listscroller that carries the mask, so the card's glass, border and shadow stay whole.contextmenulistener (keyframe button in the inspector) opens nothing, so section 3b had nothing to change.Commits
Version
v2.21.0 (release commit is last). Bumped:
backend/app/main.pyAPP_VERSION,frontend/package.json, the two own-version fields offrontend/package-lock.json,src-tauri/tauri.conf.json,src-tauri/Cargo.toml, formcut's entry insrc-tauri/Cargo.lock,form-functions.json, and the README badge. Also in the release commit: the rebuiltdemo/,demos/gradeanddemos/deliverbundles, and the interface map thatsetup/skill_maps.pyregenerated for the new file. No CHANGELOG.md exists, so none was added.Checks
npm run build(tscthenvite build): clean.npm run demoand the twodemos/*vite builds: built.python setup/preflight.py: version agreement and the other checks pass. The skill map was out of date because of the new file and was regenerated. One failure is from this machine: the engine does not import becausefastapiis not installed here.Not run: the Python test suite (it needs fastapi, which is not installed here); the 1871x1080 and 800x320 sizes; the hint fade timings; End and Home; arrow-key focus against the fade; reduced motion; the Blend mode and Timeline height menus in a browser (they need a selected clip and the editor); the rebuilt demos opened from
file://; the desktop shell. No right-click menu exists, so no before and after numbers for one.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.